//
//  FinderTitleCell.m
//  ForYourBeauty
//
//  Created by Kelly xu on 2019/6/2.
//  Copyright © 2019 changrenTech. All rights reserved.
//

#import "FinderTitleCell.h"
#import "NSDate+Additions.h"
@implementation FinderTitleCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setCellValue:(FinderDetailModel*)model{
    self.titleLab.text = [NSString stringWithFormat:@"%@",model.articleTitle];
    self.subTitleLab.text = [NSString stringWithFormat:@"%@",model.articleType];
    self.timeLab.text = [NSDate timestampSwitchTime:model.updateTime andFormatter:@"yyyy-MM-dd"];
    self.topCountLab.text = [NSString stringWithFormat:@"%.0f阅读数",model.topCount];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
